<template>
  <div id="app" class="fysxs">
    <div class="fx-g1 w100p ovy-s"><router-view /></div>
    <mox-tabar />
  </div>
</template>

<script>
import MoxTabar from "@/components/MoxTabar.vue";
import getgoods from "@/network/getgoods";
export default {
  components: {
    MoxTabar,
  },
  created() {
    getgoods().then((res) => {
      this.$store.commit("updataGoods", res.data);
    });
  },
};
</script>

<style lang="scss">
html,
body,
#app {
  height: 100%;
  background-color: #f2f2f2;
}

#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #c4c4c4;
}

#app::after {
  content: "";
  display: block;
  height: 50px;
}
</style>
